package com.qf.forumproject.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.io.Serializable;

/**
 * (QfComment)实体类
 *
 * @author Manchi
 * @since 2022-07-23 11:42:40
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class QfComment implements Serializable {
    private static final long serialVersionUID = -16951827687913835L;
    /**
     * 自增id
     */
    private Integer id;
    /**
     * 评论唯一id
     */
    private String commentId;
    /**
     * 1博客 2问答
     */
    private Integer topicCategory;
    /**
     * 评论主题id
     */
    private String topicId;
    /**
     * 评论者id
     */
    private String userId;
    /**
     * 评论者昵称
     */
    private String userName;
    /**
     * 评论者头像
     */
    private String userAvatar;
    /**
     * 评论内容
     */
    private String content;
    /**
     * 评论创建时间
     */
    private Date gmtCreate;

}
